package cn.kooki.app.duobao.data.constant;

import java.io.File;

import cn.kooki.app.duobao.util.ExternalStorageUtil;


/**
 * 项目名称：Mts_android
 * 类描述：
 * 创建人：zhangzhanyong
 * 创建时间：2015/7/24 10:13
 * 修改人：Administrator
 * 修改时间：2015/7/24 10:13
 * 修改备注：
 */

public class Constants {


    public static final int LOGINTYPE_WEIXIN = 3;
    public static final int LOGINTYPE_QQ = 2;
    public static final int LOGINTYPE_SINA = 4;

    //多渠道自动更新配置
    public static final String AUTO_TYPE_BAIDU = "baiduyun";
    public static final String AUTO_TYPE_360 = "360";
    public static final String AUTO_TYPE_UMMENG = "umeng";

    // 商户PID
    public static final String PARTNER = "2088511508785743";
    // 商户收款账号
    public static final String SELLER = "2103341977@qq.com";

    // 支付宝公钥
//    public static final String RSA_PUBLIC = "201511090073485";
    public static final int SDK_PAY_FLAG = 1;

    public static final String APP_WEB_BASE = "http://m.7qbao.com/";

    public static final String GOOD_DETAIL_URL = APP_WEB_BASE + "/mobile/mobile/goodsdesc_app/";

    public static final String APP_NEWS_URL = APP_WEB_BASE + "/mobile/mobile/app_news/";

    public static final String SHARE_URL = APP_WEB_BASE + "/mobile/shaidan/detail/";

    public static final String APP_SHARE_URL = APP_WEB_BASE +"/go/ad/d225m/?ad_uid=";

    public static final String APP_HELP_URL = APP_WEB_BASE + "/mobile/mobile/app_help_ios";

    public static final String APP_RESULT_DETAIL_URL = APP_WEB_BASE + "/mobile/mobile/calResult/%s-%s?app=1";

    public static final String APP_FINDPASS_URL = APP_WEB_BASE + "/mobile/user/findpass/?app=1";

    public static final String APP_NOTICE_URL = APP_WEB_BASE + "/mobile/mobile/tongzhi";

    public static final String APP_ID = "wx6de84367c30ebe8c";

    public static final String APP_SECRET = "265a15d16e95c696fd3ed7c1e02df284";

    public static final int SDK_CHECK_FLAG = 2;

    public static final float banner_radio = 350 / 750.0f;

    public static final int MAX_IMGCOUNT = 10;


    /**
     * 程序隐藏根目录
     */
    public static final StringBuilder APP_BASE_PATH = ExternalStorageUtil.getExternalStoragePath();
    public static final StringBuilder APP_PHOTOS_PATH = ExternalStorageUtil.getExternalStoragePath();

    public static final String TEST_URL = "http://192.168.1.130";

    public static final String BASE_URL = "http://www.7qbao.com";
    //    public static final String API_VERSION="/?";
    public static final String API_BASE = "/api/mobileapi";
    /**
     * 注册接口
     */
    public static final String REGISTER = "/user_reg_json/";
    /**
     * 商品列表
     */
    public static final String SHOPLIST = "/shop_list_json/";
    /**
     * 商品详情
     */
    public static final String GOODS_DETAIL = "/shop_view_json/";


    public static final String LOGIN_TYPE_SWITCH = "/login_type_json/";


    /**
     * 最新揭晓
     */
    public static final String LORTTERY_LIST = "/lottery_list_json/";

    /**
     * 登陆
     */
    public static final String LOGIN = "/user_login_json/";

    /**
     * 用户信息
     */
    public static final String USERINFO = "/user_view_json/";


    /**
     * 购买下单
     */
    public static final String PAY = "/shop_post_json/";

    /**
     * 红包列表
     */
    public static final String BONUS = "/bonus_list_json/";

    /***
     * 收货地址
     */
    public static final String ADDRESS = "/address_list_json/";
    /***
     * 添加收货地址
     */
    public static final String ADD_ADDRESS = "/address_add_json/";

    public static final String BIND_PHONE = "/user_mobile_bind_json/";

    public static final String UPLOAD_CONTACTS = "/txl_post_json/";

    public static final String CHECK_VERSION = "/app_version_list_json/";

    /**
     * 支付方式
     */
    public static final String PAY_TYPE = "/pay_type_json/";


    /**
     * 用户头像修改
     */
    public static final String USERICON_CHANGE = "/user_post_ava_json/";

    /***
     * 删除收货地址
     */
    public static final String DEL_ADDRESS = "/address_del_json/";
    /***
     * 晒单列表
     */
    public static final String SHARE_LIST = "/shaidan_list_json/";
    /***
     * 分类数据
     */
    public static final String TYPE_LIST = "/class_list_json/";
    /***
     * 夺宝记录
     */
    public static final String RECORD_LIST = "/record_list_json/";
    /***
     * 充值记录
     */
    public static final String PAY_LIST = "/pay_list_json/";

    /***
     * 参与记录
     */
    public static final String SHOP_VIEW_RECORD_LIST = "/shop_view_gorecord_json/";
    /**
     * 中奖纪录
     */
    public static final String WINNING_LIST = "/winning_list_json/";

    /**
     * 猜你喜欢
     */
    public static final String TUIJIAN_LIST = "/shop_tuijian_json/";

    /**
     * 获取验证码
     */
    public static final String GET_CODE = "/getmobilecode/";


    /**
     * 获取验证码
     */
    public static final String USER_MODNAME = "/user_modname_json/";


    /**
     * 城市地区
     */
    public static final String CITY_LIST = "/city_list_json/";


    /**
     * 首页轮播
     */
    public static final String BANNER_IMG = "/banner_list_json/";
    /**
     * 首页中奖通知
     */
    public static final String INDEX_NOTICE = "/index_userlottery_json/";

    /**
     * 充值
     */
    public static final String CHARGE = "/pay_json/";

    /**
     * paycallback 支付结果查询
     */
    public static final String PAY_CALLBACK = "/shop_post_status_json/";

    public static final String SHARE_LIST_MY = "/shaidan_user_list_json/";


    public static final String POST_BONUS = "/bonus_post_json/";


    public static final String IS_ONE_BONUS = "/one_bouns_json/";

    /**
     * 往期揭晓
     */
    public static final String WINRECORDFORGOOD = "/shop_winrecord_json/";

    /**
     * 查看用户的夺宝的code
     */
    public static final String ORDERCODELIST = "/record_user_code_json/";


    /**
     * 检查用户是否注册
     */
    public static final String CHECK_USER = "/user_mobile_view_json/";


    public static final String RECORDUSERLIST = "/record_user_list_json/";

    public static final String RECORD_NOT_SHARE = "/shaidan_user_shoplist_json/";

    /**
     * 添加晒单
     */
    public static final String ADD_SHARE = "/shaidan_post_json/";


    public static final String USER_POINTS = "/integral_post_json/";

    public static final String USER_POINTS_STATUS = "/integral_status_json/";


    public static final String luanch_url = "http://ss.7qbao.com/statics/uploads/app_banner/1.jpg";

    /**
     * 程序异常崩溃日志
     */
    public static final StringBuilder APP_CRASH_BASE_PATH = new StringBuilder().append(APP_BASE_PATH).append("crash").append(File.separator);
    /**
     * 照片存储路径
     */
    public static final StringBuilder APP_IMG_FOLDER_PATH = new StringBuilder().append(APP_BASE_PATH).append("photos").append(File.separator);
    /**
     * 服务地址配置路径
     */
    public static final StringBuilder APP_URL_FOLDER_PATH = new StringBuilder().append(APP_BASE_PATH).append("URL/URL.txt");

    public static final StringBuilder APP_DOWNLOAD_PATH = new StringBuilder().append(APP_BASE_PATH).append("Download").append(File.separator);
    /**
     * 照片存储路径文件夹名
     */
    public static final StringBuilder APP_IMG_FOLDER_NAME = new StringBuilder().append("photos").append(File.separator);
    /**
     * 打开系统相机返回resultCode
     */
    public static final int CAMERA_TAKE = 11;


    public static final int DEFAULT_COUNT = 10;
    public static final String RSA_PRIVATE = "订单";
    public static final String IPAY_APP_ID = "3004254511";



    public static String mAppid = "1105026171";
}
